package com.nebula.pojo;

import java.util.Date;

public class FriendsApplication extends FriendsApplicationKey {
    private Integer state;

    private String messages;

    private Integer isview;

    private Date createdtime;

    public FriendsApplication(String applicant, String respondent, Integer state, String messages, Integer isview, Date createdtime) {
        super(applicant, respondent);
        this.state = state;
        this.messages = messages;
        this.isview = isview;
        this.createdtime = createdtime;
    }

    public FriendsApplication() {
        super();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getMessages() {
        return messages;
    }

    public void setMessages(String messages) {
        this.messages = messages == null ? null : messages.trim();
    }

    public Integer getIsview() {
        return isview;
    }

    public void setIsview(Integer isview) {
        this.isview = isview;
    }

    public Date getCreatedtime() {
        return createdtime;
    }

    public void setCreatedtime(Date createdtime) {
        this.createdtime = createdtime;
    }
}